package com.easy.common.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.easy.common.bean.SysRole;

import java.util.List;

public interface IRoleService {

    public SysRole insert(SysRole sysRole);

    public SysRole update(SysRole sysRole);

    public int delete(Integer id);

    public SysRole getById(Integer id);

    IPage<SysRole> getListByPage(IPage page, SysRole sysRole);

    List<SysRole> getList(SysRole sysRole);

    int setStatus(Integer id);
}
